import * as ax from './request';

export const url = ax.url + '/op'
// export const url = ax.url

export const getMemberCancelBankCardList = (params) => {
    return ax.g(url + '/member/cancel/bank/cards', params)
}

export const getMemberCancelBankCard = (params) => {
    return ax.g(url + '/member/cancel/bank/cards/' + params.id, params)
}

export const createMemberCancelBankCard = (params) => {
    return ax.p(url + '/member/cancel/bank/cards', params)
}

export const updateMemberCancelBankCard = (params) => {
    return ax.u(url + '/member/cancel/bank/cards/' + params.id, params)
}

export const delMemberCancelBankCard = (params) => {
    return ax.d(url + '/member/cancel/bank/cards/' + params.id, params)
}
